<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
<title>[Generic Component Framework v3] GCF::ObjectList Class Reference</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
<!--link href="tabs.css" rel="stylesheet" type="text/css"-->
</head><body>
 <div id="wrapper">
    <div id="logo_box">
        <a class="img_link" href="https://github.com/pnudupa/gcf" target="_blank" ><img style="float:left;margin-left:10px;margin-top:5px;margin-bottom:5px;"src="header_gcf_logo.jpg" alt="GCF LOGO"/></a>
        <a class="img_link" href="https://www.vcreatelogic.com/" target="_blank" ><img style="float:right;margin-right:10px; margin-top: 30px;" src="header_vcl_logo.jpg" alt="VCL LOGO"/></a>
        <div style="clear:both"></div>
    </div>
    <div class="nav">
        <ul>
            <li class="selectedpage">
                <a class="a-home" href="index.html" >
                    <span>Home</span>
                </a>
            </li>
            <li>
                <a class="a-classes " href="classes.html">
                    <span>All Classes</span>
                </a>
            </li>
            <li>
                <a class="a-home " href="gcf_modules.html">
                    <span>Modules</span>
                </a>
            </li>
            <li>
                <a class="a-home " href="gcf_guides_and_videos.html">
                    <span>Guides & Videos</span>
                </a>
            </li>
            <li>
                <a class="a-home " href="gcf_tools_and_inbuilt_components.html">
                    <span>Tools & Components</span>
                </a>
            </li>
        </ul>
    </div>
    <div id="main-content">
        <div class="inside">
        <div>
<!-- Generated by Doxygen 1.8.16 -->
<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><b>GCF</b></li><li class="navelem"><a class="el" href="class_g_c_f_1_1_object_list.html">ObjectList</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="class_g_c_f_1_1_object_list-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">GCF::ObjectList Class Reference<div class="ingroups"><a class="el" href="group__gcf__core.html">GCF Core Module</a></div></div>  </div>
</div><!--header-->
<div class="contents">

<p>This class manages a list of live <code>QObject</code> pointers.  
 <a href="class_g_c_f_1_1_object_list.html#details">More...</a></p>

<p><code>#include &lt;GCF3/ObjectList&gt;</code></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a73fa7beb5313967fcc5a73e7d0e24fe0"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_g_c_f_1_1_object_list.html#a73fa7beb5313967fcc5a73e7d0e24fe0">ObjectList</a> ()</td></tr>
<tr class="separator:a73fa7beb5313967fcc5a73e7d0e24fe0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afb64b3ff7dddfcfb480457be98d98e17"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_g_c_f_1_1_object_list.html#afb64b3ff7dddfcfb480457be98d98e17">ObjectList</a> (QObject *obj)</td></tr>
<tr class="separator:afb64b3ff7dddfcfb480457be98d98e17"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a76648924de2bb2b0a424efd6c1284c0c"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_g_c_f_1_1_object_list.html#a76648924de2bb2b0a424efd6c1284c0c">ObjectList</a> (const QObjectList &amp;objects)</td></tr>
<tr class="separator:a76648924de2bb2b0a424efd6c1284c0c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2a293b64b2beb0546dd7f98e8ce7b754"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_g_c_f_1_1_object_list.html#a2a293b64b2beb0546dd7f98e8ce7b754">ObjectList</a> (const <a class="el" href="class_g_c_f_1_1_object_list.html">ObjectList</a> &amp;other)</td></tr>
<tr class="separator:a2a293b64b2beb0546dd7f98e8ce7b754"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9992f042b81ef963a07fde694f6473b9"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_g_c_f_1_1_object_list.html#a9992f042b81ef963a07fde694f6473b9">~ObjectList</a> ()</td></tr>
<tr class="separator:a9992f042b81ef963a07fde694f6473b9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1c336eca65c6a9f9d549ea854f83994b"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_g_c_f_1_1_object_list.html#a1c336eca65c6a9f9d549ea854f83994b">add</a> (QObject *obj)</td></tr>
<tr class="separator:a1c336eca65c6a9f9d549ea854f83994b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a43925b7810e4d19000936f382bb92433"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_g_c_f_1_1_object_list.html#a43925b7810e4d19000936f382bb92433">insert</a> (int index, QObject *obj)</td></tr>
<tr class="separator:a43925b7810e4d19000936f382bb92433"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a48744e2b7f19cbede1311714283eecbe"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_g_c_f_1_1_object_list.html#a48744e2b7f19cbede1311714283eecbe">remove</a> (QObject *obj)</td></tr>
<tr class="separator:a48744e2b7f19cbede1311714283eecbe"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1f7e28dceb297784bb0abf6c68566f14"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_g_c_f_1_1_object_list.html#a1f7e28dceb297784bb0abf6c68566f14">removeAt</a> (int index)</td></tr>
<tr class="separator:a1f7e28dceb297784bb0abf6c68566f14"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab0c2491a216a990fdd54882eec3ac0f6"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_g_c_f_1_1_object_list.html#ab0c2491a216a990fdd54882eec3ac0f6">add</a> (const <a class="el" href="class_g_c_f_1_1_object_list.html">ObjectList</a> &amp;list)</td></tr>
<tr class="separator:ab0c2491a216a990fdd54882eec3ac0f6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a70c64e5f9d3c9d19624bb3531859cb6e"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_g_c_f_1_1_object_list.html#a70c64e5f9d3c9d19624bb3531859cb6e">insert</a> (int index, const QObjectList &amp;list)</td></tr>
<tr class="separator:a70c64e5f9d3c9d19624bb3531859cb6e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a94e0243f24ca173002d7ffa2e85228ac"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_g_c_f_1_1_object_list.html#a94e0243f24ca173002d7ffa2e85228ac">remove</a> (const <a class="el" href="class_g_c_f_1_1_object_list.html">ObjectList</a> &amp;list)</td></tr>
<tr class="separator:a94e0243f24ca173002d7ffa2e85228ac"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a78ac71ee4c7766a8b0f9d1d349510925"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_g_c_f_1_1_object_list.html#a78ac71ee4c7766a8b0f9d1d349510925">count</a> () const</td></tr>
<tr class="separator:a78ac71ee4c7766a8b0f9d1d349510925"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7c8b2c41983c52bfb66930d6425bd7ec"><td class="memItemLeft" align="right" valign="top">QObject *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_g_c_f_1_1_object_list.html#a7c8b2c41983c52bfb66930d6425bd7ec">at</a> (int index) const</td></tr>
<tr class="separator:a7c8b2c41983c52bfb66930d6425bd7ec"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac9ac5d2999b74705cd9e777fae990c92"><td class="memItemLeft" align="right" valign="top">QObject *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_g_c_f_1_1_object_list.html#ac9ac5d2999b74705cd9e777fae990c92">first</a> () const</td></tr>
<tr class="separator:ac9ac5d2999b74705cd9e777fae990c92"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a144f8c8a4f0cbdce592c62942ec33d14"><td class="memItemLeft" align="right" valign="top">QObject *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_g_c_f_1_1_object_list.html#a144f8c8a4f0cbdce592c62942ec33d14">last</a> () const</td></tr>
<tr class="separator:a144f8c8a4f0cbdce592c62942ec33d14"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a92667a2eec700e1834f46ba9913fbd66"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_g_c_f_1_1_object_list.html#a92667a2eec700e1834f46ba9913fbd66">indexOf</a> (QObject *obj) const</td></tr>
<tr class="separator:a92667a2eec700e1834f46ba9913fbd66"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4dff1df0d4041d54d516c2d44b3ee57a"><td class="memItemLeft" align="right" valign="top">const QObjectList &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_g_c_f_1_1_object_list.html#a4dff1df0d4041d54d516c2d44b3ee57a">toList</a> () const</td></tr>
<tr class="separator:a4dff1df0d4041d54d516c2d44b3ee57a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae569374c6e270cc5e0d5fdf6cf762a08"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_g_c_f_1_1_object_list.html#ae569374c6e270cc5e0d5fdf6cf762a08">removeAll</a> ()</td></tr>
<tr class="separator:ae569374c6e270cc5e0d5fdf6cf762a08"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a98e88912677cc8f8ab7d984ae5022ddf"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_g_c_f_1_1_object_list.html#a98e88912677cc8f8ab7d984ae5022ddf">deleteAll</a> ()</td></tr>
<tr class="separator:a98e88912677cc8f8ab7d984ae5022ddf"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a638293fd1577ad4befea9c8a125f61a4"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_g_c_f_1_1_object_list.html#a638293fd1577ad4befea9c8a125f61a4">setEventListener</a> (<a class="el" href="class_g_c_f_1_1_object_list_event_listener.html">GCF::ObjectListEventListener</a> *listener)</td></tr>
<tr class="separator:a638293fd1577ad4befea9c8a125f61a4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a730bcfcd78bd4ad83321afad41feebef"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_g_c_f_1_1_object_list_event_listener.html">GCF::ObjectListEventListener</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_g_c_f_1_1_object_list.html#a730bcfcd78bd4ad83321afad41feebef">eventListener</a> () const</td></tr>
<tr class="separator:a730bcfcd78bd4ad83321afad41feebef"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a061b43ddad46297c0a1fae61e64e7acd"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_g_c_f_1_1_object_list.html">ObjectList</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_g_c_f_1_1_object_list.html#a061b43ddad46297c0a1fae61e64e7acd">operator=</a> (const <a class="el" href="class_g_c_f_1_1_object_list.html">ObjectList</a> &amp;other)</td></tr>
<tr class="separator:a061b43ddad46297c0a1fae61e64e7acd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af378c639103b1007737bd905d435ed37"><td class="memItemLeft" align="right" valign="top">QObject *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_g_c_f_1_1_object_list.html#af378c639103b1007737bd905d435ed37">operator[]</a> (int index) const</td></tr>
<tr class="separator:af378c639103b1007737bd905d435ed37"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a173931a507eea248c820f5d1a62daa69"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_g_c_f_1_1_object_list.html">ObjectList</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_g_c_f_1_1_object_list.html#a173931a507eea248c820f5d1a62daa69">operator+=</a> (QObject *obj)</td></tr>
<tr class="separator:a173931a507eea248c820f5d1a62daa69"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af9d08221c2f7940e0f24aa78908575af"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_g_c_f_1_1_object_list.html">ObjectList</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_g_c_f_1_1_object_list.html#af9d08221c2f7940e0f24aa78908575af">operator-=</a> (QObject *obj)</td></tr>
<tr class="separator:af9d08221c2f7940e0f24aa78908575af"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afcda7775ac755606123bcba5b65d937c"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_g_c_f_1_1_object_list.html">ObjectList</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_g_c_f_1_1_object_list.html#afcda7775ac755606123bcba5b65d937c">operator+</a> (QObject *obj)</td></tr>
<tr class="separator:afcda7775ac755606123bcba5b65d937c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adc7ee264ec2f0c2ad25a8acea22251cb"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_g_c_f_1_1_object_list.html">ObjectList</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_g_c_f_1_1_object_list.html#adc7ee264ec2f0c2ad25a8acea22251cb">operator-</a> (QObject *obj)</td></tr>
<tr class="separator:adc7ee264ec2f0c2ad25a8acea22251cb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acadb8b4936325b3f7eaa53067e8141b7"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_g_c_f_1_1_object_list.html">ObjectList</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_g_c_f_1_1_object_list.html#acadb8b4936325b3f7eaa53067e8141b7">operator+=</a> (const <a class="el" href="class_g_c_f_1_1_object_list.html">ObjectList</a> &amp;list)</td></tr>
<tr class="separator:acadb8b4936325b3f7eaa53067e8141b7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7eb4fa11150a73e5039850dd18a35eaf"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_g_c_f_1_1_object_list.html">ObjectList</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_g_c_f_1_1_object_list.html#a7eb4fa11150a73e5039850dd18a35eaf">operator-=</a> (const <a class="el" href="class_g_c_f_1_1_object_list.html">ObjectList</a> &amp;list)</td></tr>
<tr class="separator:a7eb4fa11150a73e5039850dd18a35eaf"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3938ede20403bf351d70f651960b9a54"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_g_c_f_1_1_object_list.html">ObjectList</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_g_c_f_1_1_object_list.html#a3938ede20403bf351d70f651960b9a54">operator+</a> (const <a class="el" href="class_g_c_f_1_1_object_list.html">ObjectList</a> &amp;list)</td></tr>
<tr class="separator:a3938ede20403bf351d70f651960b9a54"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a75d728695320f53f03fa450fce2dd491"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_g_c_f_1_1_object_list.html">ObjectList</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_g_c_f_1_1_object_list.html#a75d728695320f53f03fa450fce2dd491">operator-</a> (const <a class="el" href="class_g_c_f_1_1_object_list.html">ObjectList</a> &amp;list)</td></tr>
<tr class="separator:a75d728695320f53f03fa450fce2dd491"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>This class can be used as a replacement for <code>QList&lt;QObject*&gt;</code>, when you want only valid pointers to <code>QObject</code> to be stored in the list. This class automatically notifies and removes invalid <code>QObject</code> pointers, as and when the objects that the pointers point to are deleted elsewhere in the application.</p>
<p>Three types of events can happen on <a class="el" href="class_g_c_f_1_1_object_list.html">GCF::ObjectList</a> </p><ul>
<li>A <code>QObject</code> pointer got added to the list </li>
<li>A <code>QObject</code> pointer got removed from the list </li>
<li>A <code>QObject</code>, whose pointer is in the list, got deleted</li>
</ul>
<p>You can listen to these events by implementing <a class="el" href="class_g_c_f_1_1_object_list_event_listener.html">GCF::ObjectListEventListener</a> and setting pointer to an instance of that using the <a class="el" href="class_g_c_f_1_1_object_list.html#a638293fd1577ad4befea9c8a125f61a4">setEventListener()</a> function.</p>
<p>If you want to have several listeners receive event notifications on an object list, then you can install a <a class="el" href="class_g_c_f_1_1_object_list_event_broadcaster.html">GCF::ObjectListEventBroadcaster</a> on the object list and register all event listeners with the broadcaster.</p>
<p>Alternatively, you can install a <a class="el" href="class_g_c_f_1_1_object_list_watcher.html">GCF::ObjectListWatcher</a> as event listener on the object list and connect to event-signals in the watcher.</p>
<p>Instances of this class are shallow-copyable. This means a reference counter is used to manage copies of this class. While modifications trigger a deep-copy+modify, access functions work on a shared data. </p>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a id="a73fa7beb5313967fcc5a73e7d0e24fe0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a73fa7beb5313967fcc5a73e7d0e24fe0">&#9670;&nbsp;</a></span>ObjectList() <span class="overload">[1/4]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">GCF::ObjectList::ObjectList </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Default constructor. </p>

</div>
</div>
<a id="afb64b3ff7dddfcfb480457be98d98e17"></a>
<h2 class="memtitle"><span class="permalink"><a href="#afb64b3ff7dddfcfb480457be98d98e17">&#9670;&nbsp;</a></span>ObjectList() <span class="overload">[2/4]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">GCF::ObjectList::ObjectList </td>
          <td>(</td>
          <td class="paramtype">QObject *&#160;</td>
          <td class="paramname"><em>obj</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">explicit</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Constructs an object list with <code>obj</code> and adds the <code>obj</code> to list.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">obj</td><td><code>QObject</code> pointer that needs to be added to this list </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a76648924de2bb2b0a424efd6c1284c0c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a76648924de2bb2b0a424efd6c1284c0c">&#9670;&nbsp;</a></span>ObjectList() <span class="overload">[3/4]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">GCF::ObjectList::ObjectList </td>
          <td>(</td>
          <td class="paramtype">const QObjectList &amp;&#160;</td>
          <td class="paramname"><em>objects</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">explicit</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Constructs an object list and adds <code>QObject</code> pointers in <code>objects</code> to it.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">objects</td><td><code>QObjectList</code> that will be added to this list </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a2a293b64b2beb0546dd7f98e8ce7b754"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2a293b64b2beb0546dd7f98e8ce7b754">&#9670;&nbsp;</a></span>ObjectList() <span class="overload">[4/4]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">GCF::ObjectList::ObjectList </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="class_g_c_f_1_1_object_list.html">ObjectList</a> &amp;&#160;</td>
          <td class="paramname"><em>other</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Copy constructor.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">other</td><td>the other <a class="el" href="class_g_c_f_1_1_object_list.html">GCF::ObjectList</a> object from which information is copied. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a9992f042b81ef963a07fde694f6473b9"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9992f042b81ef963a07fde694f6473b9">&#9670;&nbsp;</a></span>~ObjectList()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">GCF::ObjectList::~ObjectList </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Destructor.</p>
<dl class="section note"><dt>Note</dt><dd>Does not delete objects stored inside the list. </dd></dl>

</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="a1c336eca65c6a9f9d549ea854f83994b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1c336eca65c6a9f9d549ea854f83994b">&#9670;&nbsp;</a></span>add() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void GCF::ObjectList::add </td>
          <td>(</td>
          <td class="paramtype">QObject *&#160;</td>
          <td class="paramname"><em>obj</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Adds <code>QObject</code> pointer to this list.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">obj</td><td><code>QObject</code> pointer that needs to be added to this list</td></tr>
  </table>
  </dd>
</dl>
<dl class="section note"><dt>Note</dt><dd>the <a class="el" href="class_g_c_f_1_1_object_list_event_listener.html#ab05f82c68c2227e96cd5017cb27113ca">GCF::ObjectListEventListener::objectAdded()</a> method will be called to notify the addition. </dd></dl>

</div>
</div>
<a id="a43925b7810e4d19000936f382bb92433"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a43925b7810e4d19000936f382bb92433">&#9670;&nbsp;</a></span>insert() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void GCF::ObjectList::insert </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>index</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">QObject *&#160;</td>
          <td class="paramname"><em>obj</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Inserts a pointer to <code>QObject</code> at a specific index.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">obj</td><td>pointer to <code>QObject</code> that will be inserted into the list </td></tr>
    <tr><td class="paramname">index</td><td>index at which the pointer will be inserted. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a48744e2b7f19cbede1311714283eecbe"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a48744e2b7f19cbede1311714283eecbe">&#9670;&nbsp;</a></span>remove() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void GCF::ObjectList::remove </td>
          <td>(</td>
          <td class="paramtype">QObject *&#160;</td>
          <td class="paramname"><em>obj</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Removes the <code>QObject</code> pointer obj from the list.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">obj</td><td>pointer to <code>QObject</code> that will be removed from the list. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a1f7e28dceb297784bb0abf6c68566f14"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1f7e28dceb297784bb0abf6c68566f14">&#9670;&nbsp;</a></span>removeAt()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void GCF::ObjectList::removeAt </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>index</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Removes the <code>QObject</code> pointer at the specified index from the list.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">index</td><td>index from which the <code>QObject</code> pointer will be removed. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="ab0c2491a216a990fdd54882eec3ac0f6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab0c2491a216a990fdd54882eec3ac0f6">&#9670;&nbsp;</a></span>add() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void GCF::ObjectList::add </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="class_g_c_f_1_1_object_list.html">ObjectList</a> &amp;&#160;</td>
          <td class="paramname"><em>list</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Appends <code>QObject</code> pointers inside <a class="el" href="class_g_c_f_1_1_object_list.html">GCF::ObjectList</a> <code>list</code> to the current list.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">list</td><td><a class="el" href="class_g_c_f_1_1_object_list.html">GCF::ObjectList</a> from which the objects will be added to this. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a70c64e5f9d3c9d19624bb3531859cb6e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a70c64e5f9d3c9d19624bb3531859cb6e">&#9670;&nbsp;</a></span>insert() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void GCF::ObjectList::insert </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>index</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const QObjectList &amp;&#160;</td>
          <td class="paramname"><em>list</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Inserts <code>QObject</code> pointers from other <a class="el" href="class_g_c_f_1_1_object_list.html">GCF::ObjectList</a> 'list' to current list, starting from the specified index.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">list</td><td><a class="el" href="class_g_c_f_1_1_object_list.html">ObjectList</a> from which the objects will be inserted. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a94e0243f24ca173002d7ffa2e85228ac"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a94e0243f24ca173002d7ffa2e85228ac">&#9670;&nbsp;</a></span>remove() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void GCF::ObjectList::remove </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="class_g_c_f_1_1_object_list.html">ObjectList</a> &amp;&#160;</td>
          <td class="paramname"><em>list</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Removes the <code>QObject</code> pointers from the current list which are present in other <code><a class="el" href="class_g_c_f_1_1_object_list.html" title="This class manages a list of live QObject pointers.">ObjectList</a></code> <code>list</code> .</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">list</td><td>list of <code>QObject</code> pointers that needs to be removed. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a78ac71ee4c7766a8b0f9d1d349510925"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a78ac71ee4c7766a8b0f9d1d349510925">&#9670;&nbsp;</a></span>count()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int GCF::ObjectList::count </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Returns the object count of this.</p>
<dl class="section return"><dt>Returns</dt><dd>object count of this. </dd></dl>

</div>
</div>
<a id="a7c8b2c41983c52bfb66930d6425bd7ec"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7c8b2c41983c52bfb66930d6425bd7ec">&#9670;&nbsp;</a></span>at()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">QObject * GCF::ObjectList::at </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>index</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Returns the <code>QObject</code> pointer at the index.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">index</td><td>index of <code>QObject</code> pointer which needs to be returned. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>the <code>QObject</code> pointer at index. </dd></dl>

</div>
</div>
<a id="ac9ac5d2999b74705cd9e777fae990c92"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac9ac5d2999b74705cd9e777fae990c92">&#9670;&nbsp;</a></span>first()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">QObject * GCF::ObjectList::first </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Returns the <code>QObject</code> pointer at the first index of the list.</p>
<dl class="section return"><dt>Returns</dt><dd>the QObject pointer at first index. </dd></dl>

</div>
</div>
<a id="a144f8c8a4f0cbdce592c62942ec33d14"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a144f8c8a4f0cbdce592c62942ec33d14">&#9670;&nbsp;</a></span>last()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">QObject * GCF::ObjectList::last </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Returns the last <code>QObject</code> pointer in this list.</p>
<dl class="section return"><dt>Returns</dt><dd>the <code>QObject</code> pointer which exists at last index. </dd></dl>

</div>
</div>
<a id="a92667a2eec700e1834f46ba9913fbd66"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a92667a2eec700e1834f46ba9913fbd66">&#9670;&nbsp;</a></span>indexOf()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int GCF::ObjectList::indexOf </td>
          <td>(</td>
          <td class="paramtype">QObject *&#160;</td>
          <td class="paramname"><em>obj</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Returns the index of <code>QObject</code> pointer in the list if it exists, otherwise returns -1.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">obj</td><td><code>QObject</code> pointer of which index needs to be returned. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>index of the <code>QObject</code> in the list. </dd></dl>

</div>
</div>
<a id="a4dff1df0d4041d54d516c2d44b3ee57a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4dff1df0d4041d54d516c2d44b3ee57a">&#9670;&nbsp;</a></span>toList()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const QObjectList &amp; GCF::ObjectList::toList </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Returns the existing <code>QObject</code> pointers as a <code>QObjectList</code>.</p>
<dl class="section return"><dt>Returns</dt><dd>list of QObjects. </dd></dl>

</div>
</div>
<a id="ae569374c6e270cc5e0d5fdf6cf762a08"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae569374c6e270cc5e0d5fdf6cf762a08">&#9670;&nbsp;</a></span>removeAll()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void GCF::ObjectList::removeAll </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Removes all the <code>QObject</code> pointers from the current list. </p><dl class="section note"><dt>Note</dt><dd>Does not delete the <code>QObject</code> pointers while removing. </dd></dl>

</div>
</div>
<a id="a98e88912677cc8f8ab7d984ae5022ddf"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a98e88912677cc8f8ab7d984ae5022ddf">&#9670;&nbsp;</a></span>deleteAll()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void GCF::ObjectList::deleteAll </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Deletes all the <code>QObject</code> in the current list. </p>

</div>
</div>
<a id="a638293fd1577ad4befea9c8a125f61a4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a638293fd1577ad4befea9c8a125f61a4">&#9670;&nbsp;</a></span>setEventListener()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void GCF::ObjectList::setEventListener </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_g_c_f_1_1_object_list_event_listener.html">GCF::ObjectListEventListener</a> *&#160;</td>
          <td class="paramname"><em>listener</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Sets an event listener on this. If there was already an event listener set, it will be replaced. </p><dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">listener</td><td>event listener that needs to be set on this. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a730bcfcd78bd4ad83321afad41feebef"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a730bcfcd78bd4ad83321afad41feebef">&#9670;&nbsp;</a></span>eventListener()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_g_c_f_1_1_object_list_event_listener.html">GCF::ObjectListEventListener</a> * GCF::ObjectList::eventListener </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Returns the event listener which is currently set. </p><dl class="section return"><dt>Returns</dt><dd>event listener which is currently set. </dd></dl>

</div>
</div>
<a id="a061b43ddad46297c0a1fae61e64e7acd"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a061b43ddad46297c0a1fae61e64e7acd">&#9670;&nbsp;</a></span>operator=()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_g_c_f_1_1_object_list.html">GCF::ObjectList</a> &amp; GCF::ObjectList::operator= </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="class_g_c_f_1_1_object_list.html">ObjectList</a> &amp;&#160;</td>
          <td class="paramname"><em>other</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Overloaded equal to operator. Shallow copies data from other <a class="el" href="class_g_c_f_1_1_object_list.html">ObjectList</a> to this. </p><dl class="section return"><dt>Returns</dt><dd>the reference to the this. </dd></dl>

</div>
</div>
<a id="af378c639103b1007737bd905d435ed37"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af378c639103b1007737bd905d435ed37">&#9670;&nbsp;</a></span>operator[]()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">GCF::ObjectList::operator[] </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>index</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Returns the object pointer at the specified index. </p><dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">index</td><td>index of <code>QObject</code> pointer that needs to be returned. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><code>QObject</code> pointer at specified index. </dd></dl>

</div>
</div>
<a id="a173931a507eea248c820f5d1a62daa69"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a173931a507eea248c820f5d1a62daa69">&#9670;&nbsp;</a></span>operator+=() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">GCF::ObjectList::operator+= </td>
          <td>(</td>
          <td class="paramtype">QObject *&#160;</td>
          <td class="paramname"><em>obj</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Adds the <code>QObject</code> pointer obj to this and returns the reference of this list. </p><dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">obj</td><td><code>QObject</code> pointer which needs to be added. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>reference to this. </dd></dl>

</div>
</div>
<a id="af9d08221c2f7940e0f24aa78908575af"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af9d08221c2f7940e0f24aa78908575af">&#9670;&nbsp;</a></span>operator-=() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">GCF::ObjectList::operator-= </td>
          <td>(</td>
          <td class="paramtype">QObject *&#160;</td>
          <td class="paramname"><em>obj</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Removes the <code>QObject</code> pointer obj from this and returns the reference of this list. </p><dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">obj</td><td><code>QObject</code> pointer which needs be removed. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>reference to this. </dd></dl>

</div>
</div>
<a id="afcda7775ac755606123bcba5b65d937c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#afcda7775ac755606123bcba5b65d937c">&#9670;&nbsp;</a></span>operator+() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">GCF::ObjectList::operator+ </td>
          <td>(</td>
          <td class="paramtype">QObject *&#160;</td>
          <td class="paramname"><em>obj</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Adds the <code>QObject</code> pointer and <code>QObject</code> pointers in current list to a new <code><a class="el" href="class_g_c_f_1_1_object_list.html" title="This class manages a list of live QObject pointers.">ObjectList</a></code> and returns the new list. </p><dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">obj</td><td><code>QObject</code> pointer which will be added. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>new <a class="el" href="class_g_c_f_1_1_object_list.html">ObjectList</a> which contains <code>QObject</code> pointer obj and existing objects in this. </dd></dl>

</div>
</div>
<a id="adc7ee264ec2f0c2ad25a8acea22251cb"></a>
<h2 class="memtitle"><span class="permalink"><a href="#adc7ee264ec2f0c2ad25a8acea22251cb">&#9670;&nbsp;</a></span>operator-() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">GCF::ObjectList::operator- </td>
          <td>(</td>
          <td class="paramtype">QObject *&#160;</td>
          <td class="paramname"><em>obj</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Creates and returns a new <a class="el" href="class_g_c_f_1_1_object_list.html">ObjectList</a> which contains subtracted list of <code>QObject</code> pointers of current list from <code>obj</code>. </p><dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">obj</td><td><code>QObject</code> pointer that will be subtracted from this. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>new <a class="el" href="class_g_c_f_1_1_object_list.html">ObjectList</a> which does not contain <code>QObject</code> pointer obj and contains the QObjects of this. </dd></dl>

</div>
</div>
<a id="acadb8b4936325b3f7eaa53067e8141b7"></a>
<h2 class="memtitle"><span class="permalink"><a href="#acadb8b4936325b3f7eaa53067e8141b7">&#9670;&nbsp;</a></span>operator+=() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">GCF::ObjectList::operator+= </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="class_g_c_f_1_1_object_list.html">ObjectList</a> &amp;&#160;</td>
          <td class="paramname"><em>list</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Adds the <code>QObject</code> pointers in the other <a class="el" href="class_g_c_f_1_1_object_list.html">ObjectList</a> 'list' to this and returns reference to this list. </p><dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">list</td><td><a class="el" href="class_g_c_f_1_1_object_list.html">ObjectList</a> containing <code>QObject</code> pointers which needs be added. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>reference to current list. </dd></dl>

</div>
</div>
<a id="a7eb4fa11150a73e5039850dd18a35eaf"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7eb4fa11150a73e5039850dd18a35eaf">&#9670;&nbsp;</a></span>operator-=() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">GCF::ObjectList::operator-= </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="class_g_c_f_1_1_object_list.html">ObjectList</a> &amp;&#160;</td>
          <td class="paramname"><em>list</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Removes the <code>QObject</code> pointers from current list which are present in <a class="el" href="class_g_c_f_1_1_object_list.html">ObjectList</a> <code>list</code> and returns reference to this. </p><dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">list</td><td><a class="el" href="class_g_c_f_1_1_object_list.html">ObjectList</a> containing <code>QObject</code> pointers which needs be removed. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>reference to this. </dd></dl>

</div>
</div>
<a id="a3938ede20403bf351d70f651960b9a54"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3938ede20403bf351d70f651960b9a54">&#9670;&nbsp;</a></span>operator+() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">GCF::ObjectList::operator+ </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="class_g_c_f_1_1_object_list.html">ObjectList</a> &amp;&#160;</td>
          <td class="paramname"><em>list</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Creates and returns a new <a class="el" href="class_g_c_f_1_1_object_list.html">ObjectList</a> which will be sum of <code>QObject</code> pointers in <a class="el" href="class_g_c_f_1_1_object_list.html">ObjectList</a> 'list' and this. </p><dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">list</td><td><a class="el" href="class_g_c_f_1_1_object_list.html">ObjectList</a> containing <code>QObject</code> pointers which needs be added. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>new <a class="el" href="class_g_c_f_1_1_object_list.html">ObjectList</a> which contains QObjects of both this and <a class="el" href="class_g_c_f_1_1_object_list.html">ObjectList</a> 'list'. </dd></dl>

</div>
</div>
<a id="a75d728695320f53f03fa450fce2dd491"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a75d728695320f53f03fa450fce2dd491">&#9670;&nbsp;</a></span>operator-() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">GCF::ObjectList::operator- </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="class_g_c_f_1_1_object_list.html">ObjectList</a> &amp;&#160;</td>
          <td class="paramname"><em>list</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Creates and returns a new <a class="el" href="class_g_c_f_1_1_object_list.html">ObjectList</a> which contains subtracted list of QObjects of current list from <code>list</code>. </p><dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">list</td><td><a class="el" href="class_g_c_f_1_1_object_list.html">ObjectList</a> containing <code>QObject</code> pointers which needs to be subtracted. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>new <a class="el" href="class_g_c_f_1_1_object_list.html">ObjectList</a> which contains subtracted list of <code>QObject</code> pointers of current list from <code>list</code>. </dd></dl>

</div>
</div>
</div><!-- contents -->
</div>
</div>
</div>
<div class="footer_content">
<table width="100%" class="footer">
<tr>
<td align="left" width="50%">Copyright &copy; 2013-2019,
 <a class="el" href="http://www.vcreatelogic.com" target="_black">VCreate Logic Private Limited</a></td>
<td align="right" width="50%"><a class="el" href="http://www.vcreatelogic.com/products/gcf" target="_black">GCF - Generic Component Framework</a></td>
</tr>
</table>
</div>
</div>
</body>
</html>
